package main

import "fmt"

func main() {
    fmt.Println(count(10));
    fmt.Printf("%d\n", sum([]int{1,2,3}));
    fmt.Println(sumrange([]int{3,4}));
}

func count(i int) int {
    return 10;
}

func sumrange(a []int) int {
    s := 0;
    for _, v := range a {
        s += v;
    }
    
    return s;
}

func sum(a []int) int {
    s := 0;
    for i := 0; i < len(a); i++ {
        s += a[i]; 
    }
    return s;
}xd
